package com.yisu.expressway.push;

import java.util.HashMap;

import com.yisu.expressway.onedollar.model.AwardNoticePushObj;

/**
 * Created by Kaven on 2016/12/29.
 */

public class PushDataManager {
    private static PushDataManager sInstance;
    private HashMap<Long, AwardNoticePushObj> awardNoticePushObjHashMap = new HashMap<>();

    private PushDataManager() {
    }

    public synchronized static PushDataManager getIntance() {
        if (sInstance == null) {
            sInstance = new PushDataManager();
        }

        return sInstance;
    }

    public HashMap<Long, AwardNoticePushObj> getAwardNoticePushObjHashMap() {
        return awardNoticePushObjHashMap;
    }
}
